﻿@model ERCS.ViewModel.Patients.PatientVMs.PatientListVM


<wt:treecontainer items="AllCity" id-field="Searcher.LocationId" height="500">


    <wt:searchpanel vm="@Model" reset-btn="true" >
        <wt:row items-per-row="ItemsPerRowEnum.Three">
            <wt:textbox field="Searcher.PatientName" />
            <wt:textbox field="Searcher.IdNumber" />
            <wt:combobox field="Searcher.Gender" empty-text="全部" />
            <wt:combobox field="Searcher.Status" empty-text="全部" />
            <wt:combobox field="Searcher.SelectedVirusesIDs" items="Searcher.AllVirusess" empty-text="全部" />
            @*<wt:hidden field="Searcher.LocationId"/>*@
        </wt:row>
    </wt:searchpanel>

    <wt:quote>
        <wt:row items-per-row="ItemsPerRowEnum.Three">
            <wt:display field="Summary.QueZhen" />
            <wt:display field="Summary.ZhiYu" />
            <wt:display field="Summary.SiWang" />
        </wt:row>
    </wt:quote>


    <wt:grid vm="@Model" url="/Patients/Patient/Search" limit="50" need-show-total="true" hidden-grid-index="true"  done-func="aftersearch"/>

</wt:treecontainer>

<script>
    function test() {
        alert('test');
    }
    function aftersearch() {

    }
</script>

